<?php
class GoodBadViewModel extends ViewModel {
	public $viewFields = array(
		'GoodBad'=>array('good', 'bad', 'member_id', 'add_time', '_type'=>'LEFT'),
		'Weixin'=>array('id', 'cate_id', 'type_id', 'province_id', 'city_id', 'name', 'title', 'keywords', 'description', 'pic', 'pass_time', 'is_pay', 'is_top', 'is_best', 'status', 'score', 'score_man', 'views', 'like_count', '_on'=>'GoodBad.target_id=Weixin.id'),
	);
}